﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace MAT
{
    public partial class frmManageUser : Form
    {
        Controllers.ctrManageUser _ctrManageUser = new Controllers.ctrManageUser();
        public frmManageUser()
        {
            InitializeComponent();
            _ctrManageUser.FrmManageUser = this;
        }

        private void frmManageUser_Load(object sender, EventArgs e)
        {
            _ctrManageUser.frmManageUser_Load();
        }

        private void btnAdd_Click(object sender, EventArgs e)
        {
            _ctrManageUser.btnAdd_Click();
        }

        private void btnReset_Click(object sender, EventArgs e)
        {
            _ctrManageUser.btnReset_Click();

        }

        private void btnDelete_Click(object sender, EventArgs e)
        {
            _ctrManageUser.btnDelete_Click();
        }

        private void txtEmployeeID_TextChanged(object sender, EventArgs e)
        {

        }

        private void btnClose_Click(object sender, EventArgs e)
        {
            _ctrManageUser.btnClose_Click();
        }

        private void btnEdit_Click(object sender, EventArgs e)
        {
            _ctrManageUser.btnEdit_Click();
        }

        private void cmbEmployeeName_SelectedIndexChanged(object sender, EventArgs e)
        {
            _ctrManageUser.cmbEmployeeName_SelectedIndexChanged();
        }

        private void txtUsername_TextChanged(object sender, EventArgs e)
        {
            _ctrManageUser.txtUsername_TextChanged();
        }

        private void txtUsername_KeyDown(object sender, KeyEventArgs e)
        {
            _ctrManageUser.txtUsername_KeyDown(e);
        }
    }
}
